JavaScript

A5.InkPage Settings Object

Description

Definition of the ink page.

Properties

widthnumber

The width of the page.

heightnumber

The height of the page.

unitstring

The unit the page is measured in. For example "px" or "in".

dpunumber

The dots-per-unit of the page. This is used to derive the "ink unit" size of the page. For instance a page that is "300px" and has a "dpu" of 2 would result in a page 600 ink units wide.

backgroundobject

The background of the ink page. See A5.Ink Background Settings Object.

linesobject

Optional lines to put on the ink page. See A5.Ink Lines Ruled Settings Object or A5.Ink Lines Graph Settings Object.